package cn.cy.behavior.mediator.pattern;

/**
 * @author yangxq
 * @desc
 * @date 2025-05-10
 */
public abstract class Colleague {

    protected Mediator mediator;

    public Colleague(Mediator mediator) {
        this.mediator = mediator;
    }

    public abstract void send(String message);

    public abstract void receive(String message);

}
